gtk4.git
9 years agotreeview: Remove deprecated adjustment API
Timm Bäder [Fri, 14 Oct 2016 20:01:59 +0000 (22:01 +0200)]
treeview: Remove deprecated adjustment API

9 years agocombobox: Remove deprecated API
Timm Bäder [Fri, 14 Oct 2016 19:55:38 +0000 (21:55 +0200)]
combobox: Remove deprecated API

9 years agoadjustment: Remove deprecated API
Timm Bäder [Fri, 14 Oct 2016 19:50:53 +0000 (21:50 +0200)]
adjustment: Remove deprecated API

9 years agomenutoolbutton: Remove deprecated API
Timm Bäder [Fri, 14 Oct 2016 19:38:50 +0000 (21:38 +0200)]
menutoolbutton: Remove deprecated API

9 years agopopover: Remove deprecated API
Timm Bäder [Fri, 14 Oct 2016 19:35:35 +0000 (21:35 +0200)]
popover: Remove deprecated API

9 years agorange: Remove unused class struct members
Timm Bäder [Fri, 14 Oct 2016 19:35:26 +0000 (21:35 +0200)]
range: Remove unused class struct members

9 years agofilechooserbutton: Remove deprecated API
Timm Bäder [Fri, 14 Oct 2016 19:19:33 +0000 (21:19 +0200)]
filechooserbutton: Remove deprecated API

9 years agomessagedialog: Remove deprecated API
Timm Bäder [Fri, 14 Oct 2016 19:14:18 +0000 (21:14 +0200)]
messagedialog: Remove deprecated API

9 years agobutton: Add icon-name property
Timm Bäder [Fri, 14 Oct 2016 14:01:56 +0000 (16:01 +0200)]
button: Add icon-name property

Remove the old-style button construction that allowed to show both an
icon and a label and change visibility based on a GtkSetting.

9 years agotestsuite/gtk: Use a GtkMenuButton to test exposing objects
Timm Bäder [Fri, 14 Oct 2016 14:01:26 +0000 (16:01 +0200)]
testsuite/gtk: Use a GtkMenuButton to test exposing objects

9 years agodocs/tools/widgets: Stop using gtk_button_set_image
Timm Bäder [Fri, 14 Oct 2016 14:00:26 +0000 (16:00 +0200)]
docs/tools/widgets: Stop using gtk_button_set_image

9 years agobuttonaccessible: Stop looking at the button's image
Timm Bäder [Fri, 14 Oct 2016 13:58:48 +0000 (15:58 +0200)]
buttonaccessible: Stop looking at the button's image

9 years agotests: Add testgaction.c
Timm Bäder [Thu, 13 Oct 2016 17:02:47 +0000 (19:02 +0200)]
tests: Add testgaction.c

9 years agoradiomenuitem: Remove GtkActivatable code
Timm Bäder [Thu, 13 Oct 2016 14:47:08 +0000 (16:47 +0200)]
radiomenuitem: Remove GtkActivatable code

9 years agotoolbutton: Stop implementing GtkActivatable
Timm Bäder [Thu, 13 Oct 2016 14:21:37 +0000 (16:21 +0200)]
toolbutton: Stop implementing GtkActivatable

9 years agoswitch: Stop implementing GtkActivatable
Timm Bäder [Thu, 13 Oct 2016 14:10:31 +0000 (16:10 +0200)]
switch: Stop implementing GtkActivatable

9 years agomenuitem: Stop implementing GtkActivatable
Timm Bäder [Thu, 13 Oct 2016 14:06:03 +0000 (16:06 +0200)]
menuitem: Stop implementing GtkActivatable

9 years agoRemove GtkTable
Timm Bäder [Thu, 13 Oct 2016 13:55:00 +0000 (15:55 +0200)]
Remove GtkTable

9 years agogtkwindow: Stop checking gtk-menu-bar-accel
Timm Bäder [Thu, 13 Oct 2016 13:26:03 +0000 (15:26 +0200)]
gtkwindow: Stop checking gtk-menu-bar-accel

9 years agobutton: Stop implementing GtkActivatable
Timm Bäder [Wed, 12 Oct 2016 20:06:44 +0000 (22:06 +0200)]
button: Stop implementing GtkActivatable

9 years agobutton: Stop checking for GtkSettings:gtk-button-images setting
Timm Bäder [Wed, 12 Oct 2016 20:04:15 +0000 (22:04 +0200)]
button: Stop checking for GtkSettings:gtk-button-images setting

9 years agoStop checking GtkSettings:gtk-enable-mnemonics
Timm Bäder [Wed, 12 Oct 2016 19:56:23 +0000 (21:56 +0200)]
Stop checking GtkSettings:gtk-enable-mnemonics

9 years agowidget: Remove push/pop_composite_child
Timm Bäder [Wed, 12 Oct 2016 18:01:31 +0000 (20:01 +0200)]
widget: Remove push/pop_composite_child

as well as the composite-child property

9 years agowidget: Remove gtk_widget_get_pointer
Timm Bäder [Wed, 12 Oct 2016 17:48:16 +0000 (19:48 +0200)]
widget: Remove gtk_widget_get_pointer

9 years agowidget: Remove docs for style-set
Timm Bäder [Wed, 12 Oct 2016 17:46:46 +0000 (19:46 +0200)]
widget: Remove docs for style-set

9 years agowidget: Remove gtk_widget_reparent
Timm Bäder [Wed, 12 Oct 2016 17:46:23 +0000 (19:46 +0200)]
widget: Remove gtk_widget_reparent

9 years agoscrollbar: Remove style property
Timm Bäder [Tue, 11 Oct 2016 14:43:29 +0000 (16:43 +0200)]
scrollbar: Remove style property

9 years agobuiltinicon: remove unused struct member
Timm Bäder [Tue, 11 Oct 2016 14:43:11 +0000 (16:43 +0200)]
builtinicon: remove unused struct member

9 years agomenuitem: Remove right-justify
Timm Bäder [Tue, 11 Oct 2016 14:41:22 +0000 (16:41 +0200)]
menuitem: Remove right-justify

9 years agolabel: Stop using GdkColor
Timm Bäder [Tue, 11 Oct 2016 13:57:00 +0000 (15:57 +0200)]
label: Stop using GdkColor

9 years agocellrenderer: Remove cell-background-gdk
Timm Bäder [Tue, 11 Oct 2016 13:27:20 +0000 (15:27 +0200)]
cellrenderer: Remove cell-background-gdk

9 years agogtksettings: Remove Deprecated API
Timm Bäder [Tue, 11 Oct 2016 13:04:17 +0000 (15:04 +0200)]
gtksettings: Remove Deprecated API

9 years agowindow: Remove reshow_with_initial_size
Timm Bäder [Tue, 11 Oct 2016 12:50:22 +0000 (14:50 +0200)]
window: Remove reshow_with_initial_size

9 years agoviewport: remove deprecated api
Timm Bäder [Tue, 11 Oct 2016 12:45:43 +0000 (14:45 +0200)]
viewport: remove deprecated api

9 years agogtkdnd: Remove gtk_drag_begin
Timm Bäder [Tue, 11 Oct 2016 12:41:30 +0000 (14:41 +0200)]
gtkdnd: Remove gtk_drag_begin

9 years agogtkmain: Remove deprecated key snooper API
Timm Bäder [Tue, 11 Oct 2016 12:37:22 +0000 (14:37 +0200)]
gtkmain: Remove deprecated key snooper API

9 years agotreeview: Remove unused style properties
Timm Bäder [Tue, 11 Oct 2016 11:34:49 +0000 (13:34 +0200)]
treeview: Remove unused style properties

9 years agobbox: Remove style properties
Timm Bäder [Tue, 11 Oct 2016 11:29:05 +0000 (13:29 +0200)]
bbox: Remove style properties

9 years agogtkdialog: Remove style properties
Timm Bäder [Tue, 11 Oct 2016 11:16:18 +0000 (13:16 +0200)]
gtkdialog: Remove style properties

9 years agocolorbutton: Remove deprecated API
Timm Bäder [Tue, 11 Oct 2016 11:10:02 +0000 (13:10 +0200)]
colorbutton: Remove deprecated API

9 years agomenu: Remove vertical/horizontal-offset style properties
Timm Bäder [Tue, 11 Oct 2016 10:07:33 +0000 (12:07 +0200)]
menu: Remove vertical/horizontal-offset style properties

9 years agonotebook: Remove deprecated public API
Timm Bäder [Tue, 11 Oct 2016 07:48:26 +0000 (09:48 +0200)]
notebook: Remove deprecated public API

9 years agotoolbar: Remove button-relief style property
Timm Bäder [Tue, 11 Oct 2016 07:44:36 +0000 (09:44 +0200)]
toolbar: Remove button-relief style property

And in turn also public API to set the button relief on the toolbar as
well as the vfunc from GtkToolShell.

9 years agotextview: Remove error-underline-color style property
Timm Bäder [Tue, 11 Oct 2016 07:44:21 +0000 (09:44 +0200)]
textview: Remove error-underline-color style property

9 years agotoolbutton: Remove icon-spacing style property
Timm Bäder [Tue, 11 Oct 2016 07:33:12 +0000 (09:33 +0200)]
toolbutton: Remove icon-spacing style property

9 years agoseparatortoolitem: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 22:22:04 +0000 (00:22 +0200)]
separatortoolitem: Use gdk_window_new_input()

9 years agospinbutton: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 22:21:54 +0000 (00:21 +0200)]
spinbutton: Use gdk_window_new_input()

9 years agoswitch: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 22:21:45 +0000 (00:21 +0200)]
switch: Use gdk_window_new_input()

9 years agopathbar: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 22:21:33 +0000 (00:21 +0200)]
pathbar: Use gdk_window_new_input()

9 years agopaned: Use gdk_window_new_child() and gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 22:21:17 +0000 (00:21 +0200)]
paned: Use gdk_window_new_child() and gdk_window_new_input()

9 years agonotebook: Use gdk_window_new_child() and gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 22:20:47 +0000 (00:20 +0200)]
notebook: Use gdk_window_new_child() and gdk_window_new_input()

9 years agomenu: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 22:20:32 +0000 (00:20 +0200)]
menu: Use gdk_window_new_child()

9 years agolayout: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 22:20:17 +0000 (00:20 +0200)]
layout: Use gdk_window_new_child()

9 years agoiconview: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 22:20:02 +0000 (00:20 +0200)]
iconview: Use gdk_window_new_child()

9 years agotoolitemgroup: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:23:17 +0000 (20:23 +0200)]
toolitemgroup: Use gdk_window_new_child()

9 years agotoolitem: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:23:04 +0000 (20:23 +0200)]
toolitem: Use gdk_window_new_input()

9 years agotoolbar: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:22:47 +0000 (20:22 +0200)]
toolbar: Use gdk_window_new_input()

9 years agopopover: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:22:33 +0000 (20:22 +0200)]
popover: Use gdk_window_new_child()

9 years agomenushell: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:22:16 +0000 (20:22 +0200)]
menushell: Use gdk_window_new_child()

9 years agolabel: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:21:55 +0000 (20:21 +0200)]
label: Use gdk_window_new_input()

9 years agomenuitem: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:21:42 +0000 (20:21 +0200)]
menuitem: Use gdk_window_new_input()

9 years agooverlay: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:21:21 +0000 (20:21 +0200)]
overlay: Use gdk_window_new_child()

9 years agolistbox: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:21:10 +0000 (20:21 +0200)]
listbox: Use gdk_window_new_child()

9 years agoflowbox: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:21:00 +0000 (20:21 +0200)]
flowbox: Use gdk_window_new_child()

9 years agofixed: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:20:48 +0000 (20:20 +0200)]
fixed: Use gdk_window_new_child()

9 years agoscrolledwindow: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:20:32 +0000 (20:20 +0200)]
scrolledwindow: Use gdk_window_new_child()

9 years agorevealer: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:20:14 +0000 (20:20 +0200)]
revealer: Use gdk_window_new_child()

9 years agostack: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:20:05 +0000 (20:20 +0200)]
stack: Use gdk_window_new_child()

9 years agotextview: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:19:49 +0000 (20:19 +0200)]
textview: Use gdk_window_new_child()

9 years agoviewport: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:19:32 +0000 (20:19 +0200)]
viewport: Use gdk_window_new_child()

9 years agotoolpalette: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:19:10 +0000 (20:19 +0200)]
toolpalette: Use gdk_window_new_child()

9 years agoglarea: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:18:54 +0000 (20:18 +0200)]
glarea: Use gdk_window_new_input()

9 years agoexpander: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:18:33 +0000 (20:18 +0200)]
expander: Use gdk_window_new_input()

9 years agowindow: Use gdk_window_new_child() and gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:18:08 +0000 (20:18 +0200)]
window: Use gdk_window_new_child() and gdk_window_new_input()

9 years agotests: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:17:03 +0000 (20:17 +0200)]
tests: Use gdk_window_new_child()

9 years agotreeviewcolumn: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:16:34 +0000 (20:16 +0200)]
treeviewcolumn: Use gdk_window_new_input()

9 years agotreeview: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:16:12 +0000 (20:16 +0200)]
treeview: Use gdk_window_new_child()

9 years agoeventbox: Use gdk_window_new_input() and gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:15:22 +0000 (20:15 +0200)]
eventbox: Use gdk_window_new_input() and gdk_window_new_child()

9 years agoentry: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:15:05 +0000 (20:15 +0200)]
entry: Use gdk_window_new_input()

9 years agodrawingarea: Use gdk_window_new_child()
Benjamin Otte [Mon, 17 Oct 2016 18:14:49 +0000 (20:14 +0200)]
drawingarea: Use gdk_window_new_child()

9 years agocolorswatch: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:14:32 +0000 (20:14 +0200)]
colorswatch: Use gdk_window_new_input()

9 years agocalendar: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:14:09 +0000 (20:14 +0200)]
calendar: Use gdk_window_new_input()

9 years agobutton: Use gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:13:46 +0000 (20:13 +0200)]
button: Use gdk_window_new_input()

9 years agoAPI: gdk: Add gdk_window_new_child() and gdk_window_new_input()
Benjamin Otte [Mon, 17 Oct 2016 18:11:23 +0000 (20:11 +0200)]
API: gdk: Add gdk_window_new_child() and gdk_window_new_input()

This is an attempt to get rid of gdk_window_new() for more specific use
cases. These 2 are for client-side windows - regular ones and input-only
ones resepectively.

So far all those functions just call into gdk_window_new().

9 years agocolorscale: Avoid invalid write
Timm Bäder [Mon, 17 Oct 2016 16:34:07 +0000 (18:34 +0200)]
colorscale: Avoid invalid write

9 years agoFix to Catalan translation
Jordi Mas [Mon, 17 Oct 2016 16:23:29 +0000 (18:23 +0200)]
Fix to Catalan translation

9 years agocssprovider: Return void, not TRUE
Benjamin Otte [Mon, 17 Oct 2016 15:41:03 +0000 (17:41 +0200)]
cssprovider: Return void, not TRUE

Parsing a css file always succeeds as CSS can recover from parsing
errors.

9 years agocssprovider: Remove GError out argument from load functions
Benjamin Otte [Mon, 17 Oct 2016 14:09:12 +0000 (16:09 +0200)]
cssprovider: Remove GError out argument from load functions

People should use the GtkCssProvider::parsing-error signal instead.

9 years agotextbufferserialize: declare set_error as G_GNUC_PRINTF
Ben Iofel [Mon, 17 Oct 2016 14:36:26 +0000 (10:36 -0400)]
textbufferserialize: declare set_error as G_GNUC_PRINTF

And fix a missing format argument

9 years agocolorscale: modify loop variables in loop body
Ben Iofel [Mon, 17 Oct 2016 14:14:19 +0000 (10:14 -0400)]
colorscale: modify loop variables in loop body

9 years agobuild: Use correct compiler flag
Emmanuele Bassi [Mon, 17 Oct 2016 14:12:21 +0000 (15:12 +0100)]
build: Use correct compiler flag

The name is -Wformat-nonliteral.

9 years agogtk+: Fix GI warnings about missing parameters
Garrett Regier [Mon, 17 Oct 2016 14:02:37 +0000 (07:02 -0700)]
gtk+: Fix GI warnings about missing parameters

These were removed for GTK+ 4.

9 years agobroadway: Remove redundant declaration
Emmanuele Bassi [Mon, 17 Oct 2016 13:56:38 +0000 (14:56 +0100)]
broadway: Remove redundant declaration

9 years agogtk/utils: Include stdio.h
Emmanuele Bassi [Mon, 17 Oct 2016 13:51:16 +0000 (14:51 +0100)]
gtk/utils: Include stdio.h

We need it because of the declaration using FILE*.

9 years agogtkicontheme: check if the context quark string is not null
Ignacio Casal Quinteiro [Mon, 17 Oct 2016 11:02:26 +0000 (13:02 +0200)]
gtkicontheme: check if the context quark string is not null

On windows you might not have a theme installed by default which
means that when trying to create the context quark it will fail.
If then we try to replace a NULL key in the hash table it will crash.

https://bugzilla.gnome.org/show_bug.cgi?id=769859

9 years agoRemove redundant variable declaration
Emmanuele Bassi [Mon, 17 Oct 2016 10:52:00 +0000 (11:52 +0100)]
Remove redundant variable declaration

The inner `var` declaration is shadowing the outer one.

9 years agobuild: Add various compiler warnings and errors
Emmanuele Bassi [Sat, 15 Oct 2016 20:39:31 +0000 (21:39 +0100)]
build: Add various compiler warnings and errors

Just like GLib, GTK+ would benefit from getting warnings and errors from
the compilers.

We check various, common warnings, especially for a future use of C99;
additionally, we promote some warnings to errors, in order to ensure
that simple mistakes are caught during the development phase, before
they are submitted to the code repository.

9 years agonotebook: Remove redundant variable declarations
Emmanuele Bassi [Mon, 17 Oct 2016 10:43:06 +0000 (11:43 +0100)]
notebook: Remove redundant variable declarations

We're already declaring notebook and priv at the top of the function,
and assigning them to the same values.

9 years agoicontheme: Drop unnecessary allocation
Emmanuele Bassi [Mon, 17 Oct 2016 10:34:36 +0000 (11:34 +0100)]
icontheme: Drop unnecessary allocation

Use a static array for the known icon sizes, now that we don't allow
registering custom icon sizes any more. This allows us to cut a one-off
allocation that makes Valgrind sad.

9 years agoAvoid variable shadowing in GtkShortcutsSection
Emmanuele Bassi [Sat, 15 Oct 2016 20:38:21 +0000 (21:38 +0100)]
Avoid variable shadowing in GtkShortcutsSection